#define layout()
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>#(seoTitle??"ChoxSu | Java Developer")</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" href="/assets/layui/css/layui.css"/>
    <link rel="stylesheet" href="/assets/choxsu_rs/css/style.css"/>
    ### 模板函数安全调用，找到 css() 模板函数则调用，找不到则直接跳过
    ### 适合于部分页面在 layout.html 提供的 css 文件之外，还需额外添加 css 资源的应用场景
    #@css?()
</head>
<body class="lay-blog">
<div class="header">
    <div class="header-wrap">
        <h1 class="logo pull-left">
            <a href="/">
                <img src="/images/100.jpg" alt="" class="logo-img">
                <span class="site-name">ChoxSu博客社区</span>
            </a>
        </h1>
        <form class="layui-form blog-seach pull-left" action="/search">
            <div class="layui-form-item blog-sewrap">
                <div class="layui-input-block blog-sebox">
                    <i class="layui-icon layui-icon-search"></i>
                    <input type="text" name="keyword" lay-verify="title" value="#(keyword)" autocomplete="off" class="layui-input">
                </div>
            </div>
        </form>
        <div class="blog-nav pull-right">
            <ul class="layui-nav pull-left">
                <li class="layui-nav-item"><a href="/">首页</a></li>
                <li class="layui-nav-item"><a href="/blog">博客</a></li>
                <li class="layui-nav-item"><a href="/favorite">收藏</a></li>
                <li class="layui-nav-item"><a href="/code">代码</a></li>
                <li class="layui-nav-item"><a href="/about">关于</a></li>
            </ul>
            <!-- <a href="#" class="personal pull-left">
                 <i class="layui-icon layui-icon-username"></i>
             </a>-->
        </div>
        <div class="mobile-nav pull-right" id="mobile-nav">
            <a href="javascript:;">
                <i class="layui-icon layui-icon-more"></i>
            </a>
        </div>
    </div>
    <ul class="pop-nav" id="pop-nav">
        <li><a href="/">首页</a></li>
        <li><a href="/blog">博客</a></li>
        <li><a href="/favorite">收藏</a></li>
        <li><a href="/code">代码</a></li>
        <li><a href="/about">关于</a></li>
    </ul>
</div>
<div class="container-wrap">
    <div class="container">
        <div class="layui-row ">
            <!-- 主体部分-->
            <div class="contar-wrap layui-col-md9">
                #@main()
            </div>

            <!-- 右边内容-->
            <div class="layui-col-md3 right-kit">
                <div class="item tags">
                    #for(r : tags)
                    #if(r.name == "JAVA" || r.name == "Jfinal" )
                    <a href='/tag/#(r.id??)' class='tag-link-#(for.index?? + 20) tag-link-position-#(for.index??)'
                       title='#(r.topicNum??)个话题'
                       style="font-size: 18px;">#(r.name??)</a>
                    #else
                    <a href='/tag/#(r.id??)' class='tag-link-#(for.index??) tag-link-position-#(for.index??)'
                       title='#(r.topicNum??)个话题'
                       style="font-size: 14px;">#(r.name??)</a>
                    #end
                    #end
                </div>
            </div>
        </div>
    </div>

    <div  id="back-to-top" class="" style="position: absolute;right: 10vh;" title="返回顶部！" >
        <i class="layui-icon layui-icon-top"></i>
        <div class="doc-icon-name">返回顶部</div>
        <!--<i class="layui-icon layui-icon-top" style="width: 100px;height: 100vh"></i>-->
    </div>
</div>
</div>
<div class="footer">
    <p>&copy; 2018 <a href="http://www.styg.site">ChoxSu</a></p></div>
</div>
<script type='text/javascript' src='/assets/jquery/jquery.min-v1.11.3.js'></script>
<script type='text/javascript' src='/assets/layui/layui.js'></script>
### 模板函数安全调用，找到 js() 模板函数则调用，找不到则直接跳过
### 适合于部分页面在 layout.html 提供的 js 文件之外，还需额外添加 js 资源的应用场景
<script>
    layui.config({
        base: '/assets/choxsu_rs/js/'
    }).use('blog');
</script>
#@js?()
</body>
</html>
#end